﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Nini.Config;
using Sync.Log;
using Sync.User;

namespace Sync
{
    class Program
    {
        static void Main(string[] args)
        {
           // FileSystemWatcher watcher = new FileSystemWatcher("%Appdata%\\..\\Desktop\\New folder (2)");
            //FileSystemWatcher watcher2 = new FileSystemWatcher("%Appdata%\\..\\Desktop\\New folder (3)");
            //FileChecker checker = new FileChecker(watcher, watcher2);
            //Preferences pref = new Preferences(@"..\..\","Setup.ini");

            //Console.WriteLine("Testing adding exisiting config");
            //FileLog.LogMessage("Testing adding exisiting config");
            //pref.AddConfig("Test");

            //Console.WriteLine("testing adding keys to non existant config");
            //FileLog.LogMessage("testing adding keys to non existant config");
            //pref.AddKey("Properties","test",5);

            //Console.WriteLine("Testing adding multiple keys");
            //FileLog.LogMessage("Testing adding multiple keys");
            //pref.AddKey("Test","test2","test");
            //pref.AddKey("Test", "test2", "test2");

            //Console.WriteLine("adding new config not there.");
            //FileLog.LogMessage("adding new config not there.");
            //pref.AddConfig("hello");

            //Console.WriteLine("testing adding a new source to non exsiting file with no extension");
            //FileLog.LogMessage("testing adding a new source to non exsiting file with no extension");
            //pref.ChangeSource(@"..\..\", "setuptest");
            //Console.WriteLine(pref.FullFilePath);

            Console.ReadLine();
        }
    }
}
